package com.itic.mall.system.goods.goodssku.persistence.model;

import com.itic.appbase.framework.common.persistence.model.BaseExample;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class GoodsSkuExample extends BaseExample {
    /**
    
     *
     * @mbggenerated
     */
    protected String orderByClause;

    /**
    
     *
     * @mbggenerated
     */
    protected boolean distinct;

    /**
    
     *
     * @mbggenerated
     */
    protected List<Criteria> oredCriteria;

    /**
    
     *
     * @mbggenerated
     */
    public GoodsSkuExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
    
     *
     * @mbggenerated
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
    
     *
     * @mbggenerated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
    
     *
     * @mbggenerated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
    
     *
     * @mbggenerated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
    
     *
     * @mbggenerated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
    
     *
     * @mbggenerated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
    
     *
     * @mbggenerated
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
    
     *
     * @mbggenerated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
    
     *
     * @mbggenerated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
    
     *
     * @mbggenerated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class corresponds to the database table t_goods_sku
     *
     * @mbggenerated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveIsNull() {
            addCriterion("IS_EFFECTIVE is null");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveIsNotNull() {
            addCriterion("IS_EFFECTIVE is not null");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveEqualTo(String value) {
            addCriterion("IS_EFFECTIVE =", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotEqualTo(String value) {
            addCriterion("IS_EFFECTIVE <>", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveGreaterThan(String value) {
            addCriterion("IS_EFFECTIVE >", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveGreaterThanOrEqualTo(String value) {
            addCriterion("IS_EFFECTIVE >=", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveLessThan(String value) {
            addCriterion("IS_EFFECTIVE <", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveLessThanOrEqualTo(String value) {
            addCriterion("IS_EFFECTIVE <=", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveLike(String value) {
            addCriterion("IS_EFFECTIVE like", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotLike(String value) {
            addCriterion("IS_EFFECTIVE not like", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveIn(List<String> values) {
            addCriterion("IS_EFFECTIVE in", values, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotIn(List<String> values) {
            addCriterion("IS_EFFECTIVE not in", values, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveBetween(String value1, String value2) {
            addCriterion("IS_EFFECTIVE between", value1, value2, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotBetween(String value1, String value2) {
            addCriterion("IS_EFFECTIVE not between", value1, value2, "isEffective");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIsNull() {
            addCriterion("ORG_CODE is null");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIsNotNull() {
            addCriterion("ORG_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andOrgCodeEqualTo(String value) {
            addCriterion("ORG_CODE =", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotEqualTo(String value) {
            addCriterion("ORG_CODE <>", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeGreaterThan(String value) {
            addCriterion("ORG_CODE >", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_CODE >=", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLessThan(String value) {
            addCriterion("ORG_CODE <", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLessThanOrEqualTo(String value) {
            addCriterion("ORG_CODE <=", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLike(String value) {
            addCriterion("ORG_CODE like", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotLike(String value) {
            addCriterion("ORG_CODE not like", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIn(List<String> values) {
            addCriterion("ORG_CODE in", values, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotIn(List<String> values) {
            addCriterion("ORG_CODE not in", values, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeBetween(String value1, String value2) {
            addCriterion("ORG_CODE between", value1, value2, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotBetween(String value1, String value2) {
            addCriterion("ORG_CODE not between", value1, value2, "orgCode");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("CREATE_USER is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("CREATE_USER is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("CREATE_USER =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("CREATE_USER <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("CREATE_USER >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_USER >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("CREATE_USER <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("CREATE_USER <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("CREATE_USER like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("CREATE_USER not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("CREATE_USER in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("CREATE_USER not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("CREATE_USER between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("CREATE_USER not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andReorderIsNull() {
            addCriterion("REORDER is null");
            return (Criteria) this;
        }

        public Criteria andReorderIsNotNull() {
            addCriterion("REORDER is not null");
            return (Criteria) this;
        }

        public Criteria andReorderEqualTo(Integer value) {
            addCriterion("REORDER =", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderNotEqualTo(Integer value) {
            addCriterion("REORDER <>", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderGreaterThan(Integer value) {
            addCriterion("REORDER >", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderGreaterThanOrEqualTo(Integer value) {
            addCriterion("REORDER >=", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderLessThan(Integer value) {
            addCriterion("REORDER <", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderLessThanOrEqualTo(Integer value) {
            addCriterion("REORDER <=", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderIn(List<Integer> values) {
            addCriterion("REORDER in", values, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderNotIn(List<Integer> values) {
            addCriterion("REORDER not in", values, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderBetween(Integer value1, Integer value2) {
            addCriterion("REORDER between", value1, value2, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderNotBetween(Integer value1, Integer value2) {
            addCriterion("REORDER not between", value1, value2, "reorder");
            return (Criteria) this;
        }

        public Criteria andNoteIsNull() {
            addCriterion("NOTE is null");
            return (Criteria) this;
        }

        public Criteria andNoteIsNotNull() {
            addCriterion("NOTE is not null");
            return (Criteria) this;
        }

        public Criteria andNoteEqualTo(String value) {
            addCriterion("NOTE =", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotEqualTo(String value) {
            addCriterion("NOTE <>", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThan(String value) {
            addCriterion("NOTE >", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThanOrEqualTo(String value) {
            addCriterion("NOTE >=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThan(String value) {
            addCriterion("NOTE <", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThanOrEqualTo(String value) {
            addCriterion("NOTE <=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLike(String value) {
            addCriterion("NOTE like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotLike(String value) {
            addCriterion("NOTE not like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteIn(List<String> values) {
            addCriterion("NOTE in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotIn(List<String> values) {
            addCriterion("NOTE not in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteBetween(String value1, String value2) {
            addCriterion("NOTE between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotBetween(String value1, String value2) {
            addCriterion("NOTE not between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andSpuIdIsNull() {
            addCriterion("SPU_ID is null");
            return (Criteria) this;
        }

        public Criteria andSpuIdIsNotNull() {
            addCriterion("SPU_ID is not null");
            return (Criteria) this;
        }

        public Criteria andSpuIdEqualTo(String value) {
            addCriterion("SPU_ID =", value, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdNotEqualTo(String value) {
            addCriterion("SPU_ID <>", value, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdGreaterThan(String value) {
            addCriterion("SPU_ID >", value, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdGreaterThanOrEqualTo(String value) {
            addCriterion("SPU_ID >=", value, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdLessThan(String value) {
            addCriterion("SPU_ID <", value, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdLessThanOrEqualTo(String value) {
            addCriterion("SPU_ID <=", value, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdLike(String value) {
            addCriterion("SPU_ID like", value, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdNotLike(String value) {
            addCriterion("SPU_ID not like", value, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdIn(List<String> values) {
            addCriterion("SPU_ID in", values, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdNotIn(List<String> values) {
            addCriterion("SPU_ID not in", values, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdBetween(String value1, String value2) {
            addCriterion("SPU_ID between", value1, value2, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdNotBetween(String value1, String value2) {
            addCriterion("SPU_ID not between", value1, value2, "spuId");
            return (Criteria) this;
        }

        public Criteria andSkuPriceIsNull() {
            addCriterion("SKU_PRICE is null");
            return (Criteria) this;
        }

        public Criteria andSkuPriceIsNotNull() {
            addCriterion("SKU_PRICE is not null");
            return (Criteria) this;
        }

        public Criteria andSkuPriceEqualTo(Double value) {
            addCriterion("SKU_PRICE =", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceNotEqualTo(Double value) {
            addCriterion("SKU_PRICE <>", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceGreaterThan(Double value) {
            addCriterion("SKU_PRICE >", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("SKU_PRICE >=", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceLessThan(Double value) {
            addCriterion("SKU_PRICE <", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceLessThanOrEqualTo(Double value) {
            addCriterion("SKU_PRICE <=", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceIn(List<Double> values) {
            addCriterion("SKU_PRICE in", values, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceNotIn(List<Double> values) {
            addCriterion("SKU_PRICE not in", values, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceBetween(Double value1, Double value2) {
            addCriterion("SKU_PRICE between", value1, value2, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceNotBetween(Double value1, Double value2) {
            addCriterion("SKU_PRICE not between", value1, value2, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrginPriceIsNull() {
            addCriterion("SKU_ORGIN_PRICE is null");
            return (Criteria) this;
        }

        public Criteria andSkuOrginPriceIsNotNull() {
            addCriterion("SKU_ORGIN_PRICE is not null");
            return (Criteria) this;
        }

        public Criteria andSkuOrginPriceEqualTo(Double value) {
            addCriterion("SKU_ORGIN_PRICE =", value, "skuOrginPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrginPriceNotEqualTo(Double value) {
            addCriterion("SKU_ORGIN_PRICE <>", value, "skuOrginPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrginPriceGreaterThan(Double value) {
            addCriterion("SKU_ORGIN_PRICE >", value, "skuOrginPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrginPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("SKU_ORGIN_PRICE >=", value, "skuOrginPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrginPriceLessThan(Double value) {
            addCriterion("SKU_ORGIN_PRICE <", value, "skuOrginPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrginPriceLessThanOrEqualTo(Double value) {
            addCriterion("SKU_ORGIN_PRICE <=", value, "skuOrginPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrginPriceIn(List<Double> values) {
            addCriterion("SKU_ORGIN_PRICE in", values, "skuOrginPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrginPriceNotIn(List<Double> values) {
            addCriterion("SKU_ORGIN_PRICE not in", values, "skuOrginPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrginPriceBetween(Double value1, Double value2) {
            addCriterion("SKU_ORGIN_PRICE between", value1, value2, "skuOrginPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrginPriceNotBetween(Double value1, Double value2) {
            addCriterion("SKU_ORGIN_PRICE not between", value1, value2, "skuOrginPrice");
            return (Criteria) this;
        }

        public Criteria andSkuNumIsNull() {
            addCriterion("SKU_NUM is null");
            return (Criteria) this;
        }

        public Criteria andSkuNumIsNotNull() {
            addCriterion("SKU_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andSkuNumEqualTo(String value) {
            addCriterion("SKU_NUM =", value, "skuNum");
            return (Criteria) this;
        }

        public Criteria andSkuNumNotEqualTo(String value) {
            addCriterion("SKU_NUM <>", value, "skuNum");
            return (Criteria) this;
        }

        public Criteria andSkuNumGreaterThan(String value) {
            addCriterion("SKU_NUM >", value, "skuNum");
            return (Criteria) this;
        }

        public Criteria andSkuNumGreaterThanOrEqualTo(String value) {
            addCriterion("SKU_NUM >=", value, "skuNum");
            return (Criteria) this;
        }

        public Criteria andSkuNumLessThan(String value) {
            addCriterion("SKU_NUM <", value, "skuNum");
            return (Criteria) this;
        }

        public Criteria andSkuNumLessThanOrEqualTo(String value) {
            addCriterion("SKU_NUM <=", value, "skuNum");
            return (Criteria) this;
        }

        public Criteria andSkuNumLike(String value) {
            addCriterion("SKU_NUM like", value, "skuNum");
            return (Criteria) this;
        }

        public Criteria andSkuNumNotLike(String value) {
            addCriterion("SKU_NUM not like", value, "skuNum");
            return (Criteria) this;
        }

        public Criteria andSkuNumIn(List<String> values) {
            addCriterion("SKU_NUM in", values, "skuNum");
            return (Criteria) this;
        }

        public Criteria andSkuNumNotIn(List<String> values) {
            addCriterion("SKU_NUM not in", values, "skuNum");
            return (Criteria) this;
        }

        public Criteria andSkuNumBetween(String value1, String value2) {
            addCriterion("SKU_NUM between", value1, value2, "skuNum");
            return (Criteria) this;
        }

        public Criteria andSkuNumNotBetween(String value1, String value2) {
            addCriterion("SKU_NUM not between", value1, value2, "skuNum");
            return (Criteria) this;
        }

        public Criteria andSkuProfitPercentIsNull() {
            addCriterion("SKU_PROFIT_PERCENT is null");
            return (Criteria) this;
        }

        public Criteria andSkuProfitPercentIsNotNull() {
            addCriterion("SKU_PROFIT_PERCENT is not null");
            return (Criteria) this;
        }

        public Criteria andSkuProfitPercentEqualTo(Double value) {
            addCriterion("SKU_PROFIT_PERCENT =", value, "skuProfitPercent");
            return (Criteria) this;
        }

        public Criteria andSkuProfitPercentNotEqualTo(Double value) {
            addCriterion("SKU_PROFIT_PERCENT <>", value, "skuProfitPercent");
            return (Criteria) this;
        }

        public Criteria andSkuProfitPercentGreaterThan(Double value) {
            addCriterion("SKU_PROFIT_PERCENT >", value, "skuProfitPercent");
            return (Criteria) this;
        }

        public Criteria andSkuProfitPercentGreaterThanOrEqualTo(Double value) {
            addCriterion("SKU_PROFIT_PERCENT >=", value, "skuProfitPercent");
            return (Criteria) this;
        }

        public Criteria andSkuProfitPercentLessThan(Double value) {
            addCriterion("SKU_PROFIT_PERCENT <", value, "skuProfitPercent");
            return (Criteria) this;
        }

        public Criteria andSkuProfitPercentLessThanOrEqualTo(Double value) {
            addCriterion("SKU_PROFIT_PERCENT <=", value, "skuProfitPercent");
            return (Criteria) this;
        }

        public Criteria andSkuProfitPercentIn(List<Double> values) {
            addCriterion("SKU_PROFIT_PERCENT in", values, "skuProfitPercent");
            return (Criteria) this;
        }

        public Criteria andSkuProfitPercentNotIn(List<Double> values) {
            addCriterion("SKU_PROFIT_PERCENT not in", values, "skuProfitPercent");
            return (Criteria) this;
        }

        public Criteria andSkuProfitPercentBetween(Double value1, Double value2) {
            addCriterion("SKU_PROFIT_PERCENT between", value1, value2, "skuProfitPercent");
            return (Criteria) this;
        }

        public Criteria andSkuProfitPercentNotBetween(Double value1, Double value2) {
            addCriterion("SKU_PROFIT_PERCENT not between", value1, value2, "skuProfitPercent");
            return (Criteria) this;
        }

        public Criteria andSkuProfitIsNull() {
            addCriterion("SKU_PROFIT is null");
            return (Criteria) this;
        }

        public Criteria andSkuProfitIsNotNull() {
            addCriterion("SKU_PROFIT is not null");
            return (Criteria) this;
        }

        public Criteria andSkuProfitEqualTo(Double value) {
            addCriterion("SKU_PROFIT =", value, "skuProfit");
            return (Criteria) this;
        }

        public Criteria andSkuProfitNotEqualTo(Double value) {
            addCriterion("SKU_PROFIT <>", value, "skuProfit");
            return (Criteria) this;
        }

        public Criteria andSkuProfitGreaterThan(Double value) {
            addCriterion("SKU_PROFIT >", value, "skuProfit");
            return (Criteria) this;
        }

        public Criteria andSkuProfitGreaterThanOrEqualTo(Double value) {
            addCriterion("SKU_PROFIT >=", value, "skuProfit");
            return (Criteria) this;
        }

        public Criteria andSkuProfitLessThan(Double value) {
            addCriterion("SKU_PROFIT <", value, "skuProfit");
            return (Criteria) this;
        }

        public Criteria andSkuProfitLessThanOrEqualTo(Double value) {
            addCriterion("SKU_PROFIT <=", value, "skuProfit");
            return (Criteria) this;
        }

        public Criteria andSkuProfitIn(List<Double> values) {
            addCriterion("SKU_PROFIT in", values, "skuProfit");
            return (Criteria) this;
        }

        public Criteria andSkuProfitNotIn(List<Double> values) {
            addCriterion("SKU_PROFIT not in", values, "skuProfit");
            return (Criteria) this;
        }

        public Criteria andSkuProfitBetween(Double value1, Double value2) {
            addCriterion("SKU_PROFIT between", value1, value2, "skuProfit");
            return (Criteria) this;
        }

        public Criteria andSkuProfitNotBetween(Double value1, Double value2) {
            addCriterion("SKU_PROFIT not between", value1, value2, "skuProfit");
            return (Criteria) this;
        }

        public Criteria andTotalInventoryIsNull() {
            addCriterion("TOTAL_INVENTORY is null");
            return (Criteria) this;
        }

        public Criteria andTotalInventoryIsNotNull() {
            addCriterion("TOTAL_INVENTORY is not null");
            return (Criteria) this;
        }

        public Criteria andTotalInventoryEqualTo(Integer value) {
            addCriterion("TOTAL_INVENTORY =", value, "totalInventory");
            return (Criteria) this;
        }

        public Criteria andTotalInventoryNotEqualTo(Integer value) {
            addCriterion("TOTAL_INVENTORY <>", value, "totalInventory");
            return (Criteria) this;
        }

        public Criteria andTotalInventoryGreaterThan(Integer value) {
            addCriterion("TOTAL_INVENTORY >", value, "totalInventory");
            return (Criteria) this;
        }

        public Criteria andTotalInventoryGreaterThanOrEqualTo(Integer value) {
            addCriterion("TOTAL_INVENTORY >=", value, "totalInventory");
            return (Criteria) this;
        }

        public Criteria andTotalInventoryLessThan(Integer value) {
            addCriterion("TOTAL_INVENTORY <", value, "totalInventory");
            return (Criteria) this;
        }

        public Criteria andTotalInventoryLessThanOrEqualTo(Integer value) {
            addCriterion("TOTAL_INVENTORY <=", value, "totalInventory");
            return (Criteria) this;
        }

        public Criteria andTotalInventoryIn(List<Integer> values) {
            addCriterion("TOTAL_INVENTORY in", values, "totalInventory");
            return (Criteria) this;
        }

        public Criteria andTotalInventoryNotIn(List<Integer> values) {
            addCriterion("TOTAL_INVENTORY not in", values, "totalInventory");
            return (Criteria) this;
        }

        public Criteria andTotalInventoryBetween(Integer value1, Integer value2) {
            addCriterion("TOTAL_INVENTORY between", value1, value2, "totalInventory");
            return (Criteria) this;
        }

        public Criteria andTotalInventoryNotBetween(Integer value1, Integer value2) {
            addCriterion("TOTAL_INVENTORY not between", value1, value2, "totalInventory");
            return (Criteria) this;
        }

        public Criteria andSkuBannersIsNull() {
            addCriterion("SKU_BANNERS is null");
            return (Criteria) this;
        }

        public Criteria andSkuBannersIsNotNull() {
            addCriterion("SKU_BANNERS is not null");
            return (Criteria) this;
        }

        public Criteria andSkuBannersEqualTo(String value) {
            addCriterion("SKU_BANNERS =", value, "skuBanners");
            return (Criteria) this;
        }

        public Criteria andSkuBannersNotEqualTo(String value) {
            addCriterion("SKU_BANNERS <>", value, "skuBanners");
            return (Criteria) this;
        }

        public Criteria andSkuBannersGreaterThan(String value) {
            addCriterion("SKU_BANNERS >", value, "skuBanners");
            return (Criteria) this;
        }

        public Criteria andSkuBannersGreaterThanOrEqualTo(String value) {
            addCriterion("SKU_BANNERS >=", value, "skuBanners");
            return (Criteria) this;
        }

        public Criteria andSkuBannersLessThan(String value) {
            addCriterion("SKU_BANNERS <", value, "skuBanners");
            return (Criteria) this;
        }

        public Criteria andSkuBannersLessThanOrEqualTo(String value) {
            addCriterion("SKU_BANNERS <=", value, "skuBanners");
            return (Criteria) this;
        }

        public Criteria andSkuBannersLike(String value) {
            addCriterion("SKU_BANNERS like", value, "skuBanners");
            return (Criteria) this;
        }

        public Criteria andSkuBannersNotLike(String value) {
            addCriterion("SKU_BANNERS not like", value, "skuBanners");
            return (Criteria) this;
        }

        public Criteria andSkuBannersIn(List<String> values) {
            addCriterion("SKU_BANNERS in", values, "skuBanners");
            return (Criteria) this;
        }

        public Criteria andSkuBannersNotIn(List<String> values) {
            addCriterion("SKU_BANNERS not in", values, "skuBanners");
            return (Criteria) this;
        }

        public Criteria andSkuBannersBetween(String value1, String value2) {
            addCriterion("SKU_BANNERS between", value1, value2, "skuBanners");
            return (Criteria) this;
        }

        public Criteria andSkuBannersNotBetween(String value1, String value2) {
            addCriterion("SKU_BANNERS not between", value1, value2, "skuBanners");
            return (Criteria) this;
        }

        public Criteria andIsMainIsNull() {
            addCriterion("IS_MAIN is null");
            return (Criteria) this;
        }

        public Criteria andIsMainIsNotNull() {
            addCriterion("IS_MAIN is not null");
            return (Criteria) this;
        }

        public Criteria andIsMainEqualTo(String value) {
            addCriterion("IS_MAIN =", value, "isMain");
            return (Criteria) this;
        }

        public Criteria andIsMainNotEqualTo(String value) {
            addCriterion("IS_MAIN <>", value, "isMain");
            return (Criteria) this;
        }

        public Criteria andIsMainGreaterThan(String value) {
            addCriterion("IS_MAIN >", value, "isMain");
            return (Criteria) this;
        }

        public Criteria andIsMainGreaterThanOrEqualTo(String value) {
            addCriterion("IS_MAIN >=", value, "isMain");
            return (Criteria) this;
        }

        public Criteria andIsMainLessThan(String value) {
            addCriterion("IS_MAIN <", value, "isMain");
            return (Criteria) this;
        }

        public Criteria andIsMainLessThanOrEqualTo(String value) {
            addCriterion("IS_MAIN <=", value, "isMain");
            return (Criteria) this;
        }

        public Criteria andIsMainLike(String value) {
            addCriterion("IS_MAIN like", value, "isMain");
            return (Criteria) this;
        }

        public Criteria andIsMainNotLike(String value) {
            addCriterion("IS_MAIN not like", value, "isMain");
            return (Criteria) this;
        }

        public Criteria andIsMainIn(List<String> values) {
            addCriterion("IS_MAIN in", values, "isMain");
            return (Criteria) this;
        }

        public Criteria andIsMainNotIn(List<String> values) {
            addCriterion("IS_MAIN not in", values, "isMain");
            return (Criteria) this;
        }

        public Criteria andIsMainBetween(String value1, String value2) {
            addCriterion("IS_MAIN between", value1, value2, "isMain");
            return (Criteria) this;
        }

        public Criteria andIsMainNotBetween(String value1, String value2) {
            addCriterion("IS_MAIN not between", value1, value2, "isMain");
            return (Criteria) this;
        }

        public Criteria andSkuDetailsIsNull() {
            addCriterion("SKU_DETAILS is null");
            return (Criteria) this;
        }

        public Criteria andSkuDetailsIsNotNull() {
            addCriterion("SKU_DETAILS is not null");
            return (Criteria) this;
        }

        public Criteria andSkuDetailsEqualTo(String value) {
            addCriterion("SKU_DETAILS =", value, "skuDetails");
            return (Criteria) this;
        }

        public Criteria andSkuDetailsNotEqualTo(String value) {
            addCriterion("SKU_DETAILS <>", value, "skuDetails");
            return (Criteria) this;
        }

        public Criteria andSkuDetailsGreaterThan(String value) {
            addCriterion("SKU_DETAILS >", value, "skuDetails");
            return (Criteria) this;
        }

        public Criteria andSkuDetailsGreaterThanOrEqualTo(String value) {
            addCriterion("SKU_DETAILS >=", value, "skuDetails");
            return (Criteria) this;
        }

        public Criteria andSkuDetailsLessThan(String value) {
            addCriterion("SKU_DETAILS <", value, "skuDetails");
            return (Criteria) this;
        }

        public Criteria andSkuDetailsLessThanOrEqualTo(String value) {
            addCriterion("SKU_DETAILS <=", value, "skuDetails");
            return (Criteria) this;
        }

        public Criteria andSkuDetailsLike(String value) {
            addCriterion("SKU_DETAILS like", value, "skuDetails");
            return (Criteria) this;
        }

        public Criteria andSkuDetailsNotLike(String value) {
            addCriterion("SKU_DETAILS not like", value, "skuDetails");
            return (Criteria) this;
        }

        public Criteria andSkuDetailsIn(List<String> values) {
            addCriterion("SKU_DETAILS in", values, "skuDetails");
            return (Criteria) this;
        }

        public Criteria andSkuDetailsNotIn(List<String> values) {
            addCriterion("SKU_DETAILS not in", values, "skuDetails");
            return (Criteria) this;
        }

        public Criteria andSkuDetailsBetween(String value1, String value2) {
            addCriterion("SKU_DETAILS between", value1, value2, "skuDetails");
            return (Criteria) this;
        }

        public Criteria andSkuDetailsNotBetween(String value1, String value2) {
            addCriterion("SKU_DETAILS not between", value1, value2, "skuDetails");
            return (Criteria) this;
        }

        public Criteria andTotalSalesIsNull() {
            addCriterion("TOTAL_SALES is null");
            return (Criteria) this;
        }

        public Criteria andTotalSalesIsNotNull() {
            addCriterion("TOTAL_SALES is not null");
            return (Criteria) this;
        }

        public Criteria andTotalSalesEqualTo(Integer value) {
            addCriterion("TOTAL_SALES =", value, "totalSales");
            return (Criteria) this;
        }

        public Criteria andTotalSalesNotEqualTo(Integer value) {
            addCriterion("TOTAL_SALES <>", value, "totalSales");
            return (Criteria) this;
        }

        public Criteria andTotalSalesGreaterThan(Integer value) {
            addCriterion("TOTAL_SALES >", value, "totalSales");
            return (Criteria) this;
        }

        public Criteria andTotalSalesGreaterThanOrEqualTo(Integer value) {
            addCriterion("TOTAL_SALES >=", value, "totalSales");
            return (Criteria) this;
        }

        public Criteria andTotalSalesLessThan(Integer value) {
            addCriterion("TOTAL_SALES <", value, "totalSales");
            return (Criteria) this;
        }

        public Criteria andTotalSalesLessThanOrEqualTo(Integer value) {
            addCriterion("TOTAL_SALES <=", value, "totalSales");
            return (Criteria) this;
        }

        public Criteria andTotalSalesIn(List<Integer> values) {
            addCriterion("TOTAL_SALES in", values, "totalSales");
            return (Criteria) this;
        }

        public Criteria andTotalSalesNotIn(List<Integer> values) {
            addCriterion("TOTAL_SALES not in", values, "totalSales");
            return (Criteria) this;
        }

        public Criteria andTotalSalesBetween(Integer value1, Integer value2) {
            addCriterion("TOTAL_SALES between", value1, value2, "totalSales");
            return (Criteria) this;
        }

        public Criteria andTotalSalesNotBetween(Integer value1, Integer value2) {
            addCriterion("TOTAL_SALES not between", value1, value2, "totalSales");
            return (Criteria) this;
        }

        public Criteria andParamQueryIsNull() {
            addCriterion("PARAM_QUERY is null");
            return (Criteria) this;
        }

        public Criteria andParamQueryIsNotNull() {
            addCriterion("PARAM_QUERY is not null");
            return (Criteria) this;
        }

        public Criteria andParamQueryEqualTo(String value) {
            addCriterion("PARAM_QUERY =", value, "paramQuery");
            return (Criteria) this;
        }

        public Criteria andParamQueryNotEqualTo(String value) {
            addCriterion("PARAM_QUERY <>", value, "paramQuery");
            return (Criteria) this;
        }

        public Criteria andParamQueryGreaterThan(String value) {
            addCriterion("PARAM_QUERY >", value, "paramQuery");
            return (Criteria) this;
        }

        public Criteria andParamQueryGreaterThanOrEqualTo(String value) {
            addCriterion("PARAM_QUERY >=", value, "paramQuery");
            return (Criteria) this;
        }

        public Criteria andParamQueryLessThan(String value) {
            addCriterion("PARAM_QUERY <", value, "paramQuery");
            return (Criteria) this;
        }

        public Criteria andParamQueryLessThanOrEqualTo(String value) {
            addCriterion("PARAM_QUERY <=", value, "paramQuery");
            return (Criteria) this;
        }

        public Criteria andParamQueryLike(String value) {
            addCriterion("PARAM_QUERY like", value, "paramQuery");
            return (Criteria) this;
        }

        public Criteria andParamQueryNotLike(String value) {
            addCriterion("PARAM_QUERY not like", value, "paramQuery");
            return (Criteria) this;
        }

        public Criteria andParamQueryIn(List<String> values) {
            addCriterion("PARAM_QUERY in", values, "paramQuery");
            return (Criteria) this;
        }

        public Criteria andParamQueryNotIn(List<String> values) {
            addCriterion("PARAM_QUERY not in", values, "paramQuery");
            return (Criteria) this;
        }

        public Criteria andParamQueryBetween(String value1, String value2) {
            addCriterion("PARAM_QUERY between", value1, value2, "paramQuery");
            return (Criteria) this;
        }

        public Criteria andParamQueryNotBetween(String value1, String value2) {
            addCriterion("PARAM_QUERY not between", value1, value2, "paramQuery");
            return (Criteria) this;
        }

        public Criteria andMaxBuyNumIsNull() {
            addCriterion("MAX_BUY_NUM is null");
            return (Criteria) this;
        }

        public Criteria andMaxBuyNumIsNotNull() {
            addCriterion("MAX_BUY_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andMaxBuyNumEqualTo(Integer value) {
            addCriterion("MAX_BUY_NUM =", value, "maxBuyNum");
            return (Criteria) this;
        }

        public Criteria andMaxBuyNumNotEqualTo(Integer value) {
            addCriterion("MAX_BUY_NUM <>", value, "maxBuyNum");
            return (Criteria) this;
        }

        public Criteria andMaxBuyNumGreaterThan(Integer value) {
            addCriterion("MAX_BUY_NUM >", value, "maxBuyNum");
            return (Criteria) this;
        }

        public Criteria andMaxBuyNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("MAX_BUY_NUM >=", value, "maxBuyNum");
            return (Criteria) this;
        }

        public Criteria andMaxBuyNumLessThan(Integer value) {
            addCriterion("MAX_BUY_NUM <", value, "maxBuyNum");
            return (Criteria) this;
        }

        public Criteria andMaxBuyNumLessThanOrEqualTo(Integer value) {
            addCriterion("MAX_BUY_NUM <=", value, "maxBuyNum");
            return (Criteria) this;
        }

        public Criteria andMaxBuyNumIn(List<Integer> values) {
            addCriterion("MAX_BUY_NUM in", values, "maxBuyNum");
            return (Criteria) this;
        }

        public Criteria andMaxBuyNumNotIn(List<Integer> values) {
            addCriterion("MAX_BUY_NUM not in", values, "maxBuyNum");
            return (Criteria) this;
        }

        public Criteria andMaxBuyNumBetween(Integer value1, Integer value2) {
            addCriterion("MAX_BUY_NUM between", value1, value2, "maxBuyNum");
            return (Criteria) this;
        }

        public Criteria andMaxBuyNumNotBetween(Integer value1, Integer value2) {
            addCriterion("MAX_BUY_NUM not between", value1, value2, "maxBuyNum");
            return (Criteria) this;
        }

        public Criteria andMinBuyNumIsNull() {
            addCriterion("MIN_BUY_NUM is null");
            return (Criteria) this;
        }

        public Criteria andMinBuyNumIsNotNull() {
            addCriterion("MIN_BUY_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andMinBuyNumEqualTo(Integer value) {
            addCriterion("MIN_BUY_NUM =", value, "minBuyNum");
            return (Criteria) this;
        }

        public Criteria andMinBuyNumNotEqualTo(Integer value) {
            addCriterion("MIN_BUY_NUM <>", value, "minBuyNum");
            return (Criteria) this;
        }

        public Criteria andMinBuyNumGreaterThan(Integer value) {
            addCriterion("MIN_BUY_NUM >", value, "minBuyNum");
            return (Criteria) this;
        }

        public Criteria andMinBuyNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("MIN_BUY_NUM >=", value, "minBuyNum");
            return (Criteria) this;
        }

        public Criteria andMinBuyNumLessThan(Integer value) {
            addCriterion("MIN_BUY_NUM <", value, "minBuyNum");
            return (Criteria) this;
        }

        public Criteria andMinBuyNumLessThanOrEqualTo(Integer value) {
            addCriterion("MIN_BUY_NUM <=", value, "minBuyNum");
            return (Criteria) this;
        }

        public Criteria andMinBuyNumIn(List<Integer> values) {
            addCriterion("MIN_BUY_NUM in", values, "minBuyNum");
            return (Criteria) this;
        }

        public Criteria andMinBuyNumNotIn(List<Integer> values) {
            addCriterion("MIN_BUY_NUM not in", values, "minBuyNum");
            return (Criteria) this;
        }

        public Criteria andMinBuyNumBetween(Integer value1, Integer value2) {
            addCriterion("MIN_BUY_NUM between", value1, value2, "minBuyNum");
            return (Criteria) this;
        }

        public Criteria andMinBuyNumNotBetween(Integer value1, Integer value2) {
            addCriterion("MIN_BUY_NUM not between", value1, value2, "minBuyNum");
            return (Criteria) this;
        }
    }

    /**
     * This class corresponds to the database table t_goods_sku
     *
     * @mbggenerated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class corresponds to the database table t_goods_sku
     *
     * @mbggenerated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value) {
            super();
            this.condition = condition;
            this.value = value;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.betweenValue = true;
        }
    }
}